package com.xin.di.uav.applet.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class SysRoleResp {

    private int total;

    private List<Record> recordList = new ArrayList<>();

    @Data
    public static class Record {
        private String id;
        /**
         * 唯一标识符，通常使用UUID
         */
        private String roleName;    // 角色名称

        private String remark;      // 备注说明
        @Schema(description = "角色权限")
        private List<String> rolePermissions;      // 备注说明


    }
}
